package com.sixmac.service.impl;

import com.sixmac.core.plugins.dao.Blade;
import com.sixmac.core.toolbox.CMap;
import com.sixmac.core.toolbox.ajax.AjaxResult;
import com.sixmac.model.ClienUser;
import com.sixmac.service.LoginService;
import org.springframework.stereotype.Service;

/**
 * Created by admin on 2018/7/3.
 */
@Service
public class LoginServiceImpl implements LoginService {

    @Override
    public AjaxResult login(String studentId, String password) {
        ClienUser user = Blade.create(ClienUser.class).findFirstBy("studentId =#{studentId}", CMap.init().put("studentId", studentId));


        return null;
    }
}
